﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administracion.master" AutoEventWireup="true"
    CodeFile="PanelDeAdministracion.aspx.cs" Inherits="PanelDeAdministracion" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <asp:Label ID="Label8" runat="server" Text="Panel de Administración" meta:resourcekey="lblPanAdmin" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <fieldset style="width: 97%">
        <legend style="text-align: left">
            <asp:Label ID="Label1" runat="server" Text="Panel de Administración" meta:resourcekey="lblPanAdmin" />
        </legend>
        <table width="100%">
            <tr>
                <td>
                    <ul style="font-size: large">
                        <div id="dvSolicPendientes" runat="server">
                            <li>
                                <asp:HyperLink ID="lnkSolicPendientes" NavigateUrl="SolicitudesDeAnalisis/SolicitudePendientes.aspx"
                                    runat="server" meta:resourcekey="lnkSolicPendientes">Solicitudes Pendientes</asp:HyperLink>
                            </li>
                        </div>
                        <div id="dvSolicPrestamo" runat="server">
                            <li>
                                <asp:LinkButton ID="lnkSolicPrestamo" runat="server">Solicitar Prestamo</asp:LinkButton>
                            </li>
                        </div>
                    </ul>
                </td>
            </tr>
        </table>
    </fieldset>
    <%--Inicio del Panel Pop Up CUIL--%>
    <asp:Panel ID="pnlCUIL" runat="server" CssClass="modalAutenticaPopup" Style="display: none">
        <fieldset style="width: 92%">
            <legend style="text-align: left">
                <asp:Label ID="Label23" runat="server" Text="Información del Cliente" meta:resourcekey="lblInfoCliente" />
            </legend>
            <table width="100%">
                <tr>
                    <td>
                        <asp:Label ID="Label30" runat="server" Text="CUIL" meta:resourcekey="lblCUIL" />
                    </td>
                    <td>
                        <asp:TextBox ID="txtCUIL" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </fieldset>
        <div style="text-align: left; padding-top: 10px; padding-left: 5px">
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="btnAceptarIngresoCUIL" EventName="Click" />
                </Triggers>
                <ContentTemplate>
                    <asp:Label ID="lblCUILIncorrecto" runat="server" Text="CUIL incorrecto"
                        meta:resourcekey="lblCUILIncorrecto" Visible="False" Font-Bold="True"
                        ForeColor="Red" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div style="text-align: center; padding-top: 10px">
            <asp:Button ID="btnAceptarIngresoCUIL" runat="server" Text="Aceptar" meta:resourcekey="lblAceptar"
                OnClick="btnAceptarIngresoCUIL_Click" />
            <asp:Button ID="btnCancelarCUIL" runat="server" Text="Cancelar" meta:resourcekey="lblCancelar" />
        </div>
    </asp:Panel>
    <ajaxToolkit:ModalPopupExtender ID="pnlCUIL_ModalPopupExtender" runat="server"
        DynamicServicePath="" Enabled="True" TargetControlID="lnkSolicPrestamo" BackgroundCssClass="modalBackground"
        CancelControlID="btnCancelarCUIL" DropShadow="true" PopupControlID="pnlCUIL">
        <Animations>
                            <OnShown> <FadeIn Duration=".5" Fps="20" />  </OnShown>
                            <OnHiding>  <FadeOut Duration=".5" Fps="20" />  </OnHiding>            
        </Animations>
    </ajaxToolkit:ModalPopupExtender>
    <%--Fin del panel Pop Up de CUIL--%>
</asp:Content>
